<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>书籍更新</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<!--<th>书名：</th>-->
<!--<th>链接：</th>-->
<!--<th>作者：</th>-->
<!--<th>价格：</th>-->
<!--<th>所属类别：</th>-->

<body>
<nav class="navbar navbar-default navbar-static-top">
    <div class="container">
        <div class="navbar-header">

            <a class="navbar-brand" href="#">数据集的查询系统后台</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a th:href="@{/user/listU}">用户管理</a></li>
                <li class="active"><a th:href="@{/user/book/listB}">书籍管理<span class="sr-only">(current)</span></a></li>
                <li><a th:href="@{/user/coursera/listC}">课程管理</a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>
<form th:action="@{/user/book/updateB}" method="post">
    <input type="hidden" name="id" th:value="${bookEntity.getBId()}"/>
    <div>
        <div class="form-group">
            <label>图片</label>
            <input th:value="${bookEntity.getBImg()}" type="text" name="bImg" class="form-control" placeholder="请输入图片"/>
        </div>
        <div class="form-group">
            <label>书名</label>
            <input  th:value="${bookEntity.getBName()}" type="text" name="bName" class="form-control" placeholder="请输入书名"/>
        </div>
        <div class="form-group">
            <label>链接</label>
            <input th:value="${bookEntity.getBLink()}" type="text" name="bLink" class="form-control" placeholder="请输入链接"/>
        </div>
        <div class="form-group">
            <label>作者</label>
            <input th:value="${bookEntity.getBAuthor()}" type="text" name="bAuthor" class="form-control" placeholder="请输入作者"/>
        </div>
        <div class="form-group">
            <label>价格</label>
            <input th:value="${bookEntity.getBPrice()}" type="text" name="bPrice" class="form-control" placeholder="请输入价格"/>
        </div>
        <div class="form-group">
            <label>所属类别</label>
            <input th:value="${bookEntity.getBLevel()}" type="text" name="bLevel" class="form-control" placeholder="请输入所属类别"/>
        </div>

        <button type="submit" class="btn btn-primary">确认修改</button>
    </div>
</form>
</body>
</html>
